﻿using System;

namespace CMS.ORM.Model
{
	/// <summary>
	/// 实体类NewsOperater 。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class NewsOperater
	{
		public NewsOperater()
		{}
		#region Model
		private decimal _id;
		private decimal _newsid;
		private string _userid;
		private string _roleid;
		private string _objecttype;
		private string _contents;
		private DateTime _lastupdatetime;
		/// <summary>
		/// 新闻操作ID
		/// </summary>
		public decimal id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 新闻ID
		/// </summary>
		public decimal newsID
		{
			set{ _newsid=value;}
			get{return _newsid;}
		}
		/// <summary>
		/// 用户ID
		/// </summary>
		public string userID
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 角色ID
		/// </summary>
		public string roleID
		{
			set{ _roleid=value;}
			get{return _roleid;}
		}
		/// <summary>
		/// 操作对象编码：
        //1.NEWS-新闻
        //2.PAGE-页面
        //3.LABL-标签
        //4.PUBL-发布
        //5.TAGS-关键词
        //6.VOTE-投票
		/// </summary>
		public string objectType
		{
			set{ _objecttype=value;}
			get{return _objecttype;}
		}
		/// <summary>
		/// 操作内容
		/// </summary>
		public string contents
		{
			set{ _contents=value;}
			get{return _contents;}
		}
		/// <summary>
		/// 最近更新者
		/// </summary>
		public DateTime lastUpdateTime
		{
			set{ _lastupdatetime=value;}
			get{return _lastupdatetime;}
		}
		#endregion Model

	}
}


